#define _CRT_SECURE_NO_WARNINGS 1
#include "Sort.h"

void ShellSortTest()
{
	int data[] = { 9,8,7,6,5,4,3,2,1,0 };
	int sz = sizeof(data) / sizeof(data[0]);
	ShellSort(data, sz);
	PrintArray(data, sz);
}

void SelectSortTest()
{
	int data[] = { 9,8,7,6,5,4,3,2,1,0 };
	int sz = sizeof(data) / sizeof(data[0]);
	SelectSort(data, sz);
	PrintArray(data, sz);
}

void HeapSortTest()
{
	int data[] = { 9,8,7,6,5,4,3,2,1,0 };
	int sz = sizeof(data) / sizeof(data[0]);
	HeapSort(data,sz);
	PrintArray(data, sz);
}

void BubbleSortTest()
{
	int data[] = { 9,8,7,5,6,0,3,4,1,2 };
	int sz = sizeof(data) / sizeof(data[0]);
	BubbleSort(data, sz);
	PrintArray(data, sz);
}

int main()
{
	BubbleSortTest();
	return 0;
}